<?php
/**
 * @package Spider Contacts
 * @author Web-Dorado
 * @copyright (C) 2012 Web-Dorado. All rights reserved.
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 **/
 defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view');



class spidercontactsViewshowtable extends JView{    function display($tpl = null)    {

		$model = $this->getModel();

		$result = $model->showPublishedContacts();

        $this->assignRef( 'rows',	$result[0] );

        $this->assignRef( 'option',	$result[1] );

       	$this->assignRef( 'params',	$result[2] );

        $this->assignRef( 'page_num',	$result[3] );

        $this->assignRef( 'cont_count',	$result[4] );

        $this->assignRef( 'cont_in_page',	$result[6] );

		$this->assignRef( 'categories',	$result[5] );

		$this->assignRef( 'category_list',	$result[7] );
		
		$this->assignRef( 'param_categories',	$result[8] );

        parent::display($tpl);

    }

}

?>